package Modele;

import java.util.ArrayList;
import java.util.Date;

public class Billet {
	private int id;
	private Date dateCreation;
	public Aeroport aeroport;
	public ArrayList<Bagage> bagages = new ArrayList<Bagage>();
	public Vol vol;
	public int id_Aeroport;
	public int id_Passager;
	public int id_Vol;
	
	public Billet(int p_id, Date p_date, int p_idAeroport, int p_idPassager, int p_idVol)
	{
		this.id = p_id;
		this.dateCreation = p_date;
		this.id_Aeroport = p_idAeroport;
		this.id_Passager = p_idPassager;
		this.id_Vol = p_idVol;
	}
	
	public int getId_Aeroport() {
		return id_Aeroport;
	}

	public void setId_Aeroport(int id_Aeroport) {
		this.id_Aeroport = id_Aeroport;
	}

	public int getId_Passager() {
		return id_Passager;
	}

	public void setId_Passager(int id_Passager) {
		this.id_Passager = id_Passager;
	}

	public int getId_Vol() {
		return id_Vol;
	}

	public void setId_Vol(int id_Vol) {
		this.id_Vol = id_Vol;
	}
	
	public Vol getVol() {
		return vol;
	}

	public void setVol(Vol vol) {
		this.vol = vol;
	}

	public int getId() {
		return this.id;
	}

	public void setId(int p_id) {
		this.id = p_id;
	}
	
	public Date getDate() {
		return this.dateCreation;
	}

	public void setDate(Date p_date) {
		this.dateCreation = p_date;
	}
}